package com.keepmoving.po;

import java.sql.Timestamp;

/**
 * @author xf
 * 课程表
 */
public class Course {

    /**
     * 课程序号
     */
    private int cId;
    /**
     * 课程名称
     */
    private String cName;
    /**
     * 教练编号
     */
    private int coId;
    /**
     * 俱乐部编号
     */
    private int clId;
    /**
     * 课程费用
     */
    private double cMoney;
    /**
     * 上课日期时间
     */
    private String cDate;
    /**
     * 上课人数
     */
    private int cNumber;
    /**
     * 课程时间
     */
    private String coTime;

    /**
     * 课程图片
     */
    private String cImg;

    /**
     * 课程满员状态
     */
    private String cStatus;

    /**
     * 空参构造
     */
    public Course() {
    }
    /**
     * 全参构造
     *
     * @param cId
     * @param cName
     * @param coId
     * @param clId
     * @param cMoney
     * @param cDate
     * @param cNumber
     * @param coTime
     */
    public Course(int cId, String cName, int coId, int clId, double cMoney, String cDate, int cNumber, String coTime, String cImg) {
        this.cId = cId;
        this.cName = cName;
        this.coId = coId;
        this.clId = clId;
        this.cMoney = cMoney;
        this.cDate = cDate;
        this.cNumber = cNumber;
        this.coTime = coTime;
        this.cImg = cImg;
    }

    public Course(int cId, String cName, int coId, int clId, double cMoney, String cDate, int cNumber, String coTime, String cImg, String cStatus) {
        this.cId = cId;
        this.cName = cName;
        this.coId = coId;
        this.clId = clId;
        this.cMoney = cMoney;
        this.cDate = cDate;
        this.cNumber = cNumber;
        this.coTime = coTime;
        this.cImg = cImg;
        this.cStatus = cStatus;
    }

    public String getcStatus() {
        return cStatus;
    }

    public void setcStatus(String cStatus) {
        this.cStatus = cStatus;
    }

    public int getcId() {
        return cId;
    }

    public void setcId(int cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public int getCoId() {
        return coId;
    }

    public void setCoId(int coId) {
        this.coId = coId;
    }

    public int getClId() {
        return clId;
    }

    public void setClId(int clId) {
        this.clId = clId;
    }

    public double getcMoney() {
        return cMoney;
    }

    public void setcMoney(double cMoney) {
        this.cMoney = cMoney;
    }

    public String getcDate() {
        return cDate;
    }

    public void setcDate(String cDate) {
        this.cDate = cDate;
    }

    public int getcNumber() {
        return cNumber;
    }

    public void setcNumber(int cNumber) {
        this.cNumber = cNumber;
    }

    public String getCoTime() {
        return coTime;
    }

    public void setCoTime(String coTime) {
        this.coTime = coTime;
    }

    public String getcImg() {
        return cImg;
    }

    public void setcImg(String cImg) {
        this.cImg = cImg;
    }

    @Override
    public String toString() {
        return "Course{" +
                "cId=" + cId +
                ", cName='" + cName + '\'' +
                ", coId=" + coId +
                ", clId=" + clId +
                ", cMoney=" + cMoney +
                ", cDate='" + cDate + '\'' +
                ", cNumber=" + cNumber +
                ", coTime='" + coTime + '\'' +
                ", cImg='" + cImg + '\'' +
                '}';
    }
}
